javascript parse regex string after before certain diameters

welcome to shbcf.ru